package ooap;

/**
 * @author yuisama
 * @date 2022/09/07 21:17
 **/
public class TestCard {
    public static void main(String[] args) {
        Card card = new Card(10010,"123");
        card.setPassword("456");
        card.setBanlance(300.0);
        System.out.println("卡号为 : " + card.getCardNum());
        System.out.println("余额为 : " + card.getBanlance());
//        Card.fun();
//        card.test();
//        card.setBanlance(-200.5);
//        card.setBanlance(-200.0);
    }
}